package com.gaomall.seckill.mapper;

import com.gaomall.seckill.commons.MyMapper;
import com.gaomall.seckill.domain.Users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 用户 数据访问层
 */
@Repository
@Mapper
public interface UsersMapper extends MyMapper<Users> {

    int checkTelphone(String telphone);

    Users selectLogin(@Param("telphone") String telphone, @Param("password")String password);


}